﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="jquery-easyui-1.4.3/jquery-1.8.2.js"></script>
    <script src="../jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
    <link href="../themes/default/easyui.css" rel="stylesheet" />
    <link href="../themes/icon.css" rel="stylesheet" />
    <link href="jquery-easyui-1.4.3/themes/default/Site.css" rel="stylesheet" />
    <meta charset="utf-8" />
</head>
<body class="easyui-layout">
    <div data-options="region:'north'" style="height:80px; background-color:rgb(46,112,204)">
        <img style="height:29px; width:280px; padding:25px 0px;" src="images/logo (1).png" />
        <p>会员消费积分管理平台</p>
        <p>当前用户：系统管理员</p>
        <a href="#" id="btnCloseAll" class="easyui-linkbutton" data-options="iconCls:'icon-del'" >关闭全部</a>
        <a id="btn-manage" href="#" class="easyui-menubutton" data-options="menu:'#mm1',iconCls:'icon-manage'">账号管理</a>
        <div id="mm1" style="width:50px;">
            <div data-options="iconCls:'icon-undo'">修改密码</div>
            <div data-options="iconCls:'icon-redo'">个人资料</div>
        </div>
    </div>
    <div data-options="region:'south',split:true" style="height:50px; background-color:rgb(46,112,204)">
        <span id="copyright">版权所有@copy 小黑马消费积分管理平台</span>
    </div>
    <!--<ul class="easyui-tree" data-options="url:'tree_data1.json',method:'get',animate:true,dnd:true"></ul>-->
    <div data-options="region:'west',split:true" title="菜单导航" style="width:150px;">
        <div class="easyui-accordion" data-options="fit:true,border:false">
            <div title="系统管理" style="padding:10px;">
                <ul class="ul-menu">
                    <li><a style="cursor:pointer;" src="/StoreManage/StoreManage.html">店铺管理</a></li>
                    <li><a style="cursor:pointer;" src="/SystemManage/LevelManage.html">会员等级管理1052466111</a></li>
                </ul>
            </div>
            <div title="用户管理" style="padding:10px;">
                <ul class="ul-menu">
                    <li><a style="cursor:pointer" src="/User/UserList.html">用户列表</a></li>
                </ul>
            </div>
            <div title="礼品管理" style="padding:10px;">
                <ul class="ul-menu">
                    <li><a style="cursor:pointer" src="/Gift/GiftList.html">礼品列表</a></li>
                </ul>
            </div>
            <div title="会员管理" style="padding:10px">
                <ul class="ul-menu">
                    <li><a style="cursor:pointer" src="/VIPmanage/VIPManagePage.html">会员列表</a></li>
                </ul>
            </div>
            <div title="会员消费" style="padding:10px;">
                <ul class="ul-menu">
                    <li><a style="cursor:pointer" src="/MemberConsumption/FastConsumption.html">快速消费</a></li>
                    <li><a style="cursor:pointer" src="/MemberConsumption/MemberMinusPoints.html">会员减积分</a></li>
                    <li><a style="cursor:pointer" src="/MemberConsumption/ConsumptionHistory.html">消费历史记录</a></li>
                </ul>
            </div>
            <div title="积分兑换" style="padding:10px;">
                <ul class="ul-menu">
                    <li><a style="cursor:pointer" src="/CreditsExchange/GiftExchange.html">积分兑换礼品</a></li>
                    <li><a style="cursor:pointer" src="/CreditsExchange/IntegralCashback.html">积分返现</a></li>
                    <li><a style="cursor:pointer" src="/CreditsExchange/ExchangeHistory.html">兑换历史记录</a></li>
                </ul>
            </div>
            <div title="统计中心" style="padding:10px">
                <ul class="ul-menu">
                    <li><a style="cursor:pointer" src="/StatisticalCenter/FastConsumption.html">快速消费统计</a></li>
                    <li><a style="cursor:pointer" src="/StatisticalCenter/MembershipConsumption.html">会员消费情况统计</a></li>
                    <li><a style="cursor:pointer" src="/StatisticalCenter/MinusIntegral.html">减积分统计</a></li>
                    <li><a style="cursor:pointer" src="/StatisticalCenter/IntegralReturn.html">积分返现统计</a></li>
                    <li><a style="cursor:pointer" src="/StatisticalCenter/GiftExchange.html">礼品兑换统计</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div data-options="region:'center',iconCls:'icon-ok'">
        <div class="easyui-tabs" id="NewTab">
        </div>
    </div>
    <script type="text/javascript">
        //实现用户点击导航栏跳转页面
        $(function () {
            //
            $(".ul-menu li a").click(function () {
                //获取按钮的url
                var src = $(this).attr("src");
                //alert(src);
                var titleShow = $(this).text();
                var strHtml = '<iframe id="iframeAdd" width="100%" height="500px;" frameborder="0" src="' + src + '"></iframe>';
                var isExist = $("#NewTab").tabs("exists", titleShow);

                if (!isExist) {
                    $("#NewTab").tabs("add", {
                        title: titleShow,
                        content: strHtml,
                        iconCls: 'icon-ok',
                        closable: true
                    });
                } else {
                    $("#NewTab").tabs("select", titleShow);
                }
            });
            //关闭全部
            $("#btnCloseAll").click(function () {
                $.extend($.messager.defaults, {
                    ok: "确定",
                    cancel: "取消"
                });
                $.messager.confirm('提示', '你确定要关闭全部窗口吗?', function (r) {
                    if (r) {
                        $("#NewTab li").each(function (index, obj) {
                            //获取可关闭的选项卡
                            var tab = $(".tabs-closable", this).text();
                            $(".easyui-tabs").tabs("close", tab);
                        });
                    }
                });
            });
        });
    </script>
</body>
</html>
